{% for comment in comments %}
    <article class="comment {{ cycle(['odd', 'even'], loop.index0) }}" id="comment-{{ comment.id }}">
        <header>
            <p><span class="highlight">{{ comment.user }}</span> commented <time datetime="{{ comment.created|date('c') }}">{{ comment.created|created_ago }}</time></p>
        </header>
        <p>{{ comment.comment }}</p>
        {% if is_granted('EDIT', comment) %}
    		<span class="highlight"  id="edit">
    		<a href="{{ path('article_client_comment_edit', { 'article_id' : comment.article.id, 'comment_id':comment.id } ) }}">Edit</a>
    		</span>
    	{% else %}
{#     		<span class="highlight">View</span>#}
		{% endif %}
    </article>
{% else %}
    <p>There are no comments for this post. Be the first to comment...</p>
{% endfor %}